-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Programming exercises
: Add group feedback feature to feedback analysis table
#9884
Programming exercises
: Add group feedback feature to feedback analysis table
#9884
Conversation
…g-exercises/add-affected-students-to-analysis-table
…d-students-to-analysis-table
…d-affected-students-to-analysis-table' into feature/programming-exercises/add-affected-students-to-analysis-table
…d-students-to-analysis-table
…d-affected-students-to-analysis-table' into feature/programming-exercises/add-affected-students-to-analysis-table
…g-exercises/add-communication-feature-to-analysis-table # Conflicts: # src/main/java/de/tum/cit/aet/artemis/assessment/web/ResultResource.java # src/main/java/de/tum/cit/aet/artemis/exercise/repository/StudentParticipationRepository.java # src/main/webapp/app/exercises/programming/manage/grading/feedback-analysis/feedback-analysis.component.html # src/main/webapp/app/exercises/programming/manage/grading/feedback-analysis/feedback-analysis.component.ts # src/main/webapp/app/exercises/programming/manage/grading/feedback-analysis/feedback-analysis.service.ts # src/main/webapp/i18n/de/programmingExercise.json # src/main/webapp/i18n/en/programmingExercise.json
…g-exercises/add-communication-feature-to-analysis-table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Tested on TS1]
reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on TS1, reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reapprove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Server-code looks good + Tested group-feature on TS3
…g-feature-to-analysis-table
Checklist
General
Server
Client
authorities
to all new routes and checked the course groups for displaying navigation elements (links, buttons).Motivation and Context
This is a follow-up to the feature I’m working on: #9810. The goal is to provide instructors with clearer insights into the feedback given to students. In this PR, a “Group Feedback” feature has been introduced. This feature allows instructors to group similar feedback (similarity > 90%), ensuring that the table remains manageable without an overwhelming number of individual entries. This is particularly useful in scenarios where test cases utilize random values, leading to feedback that differs only slightly (e.g., by numbers) while the rest of the content remains identical.
Description
A new toggle was added along with a corresponding flag to indicate whether Levenshtein grouping should be applied. Depending on the toggle’s state (true or false), the server now either groups the feedback using Levenshtein or skips the grouping. Unfortunately, Levenshtein grouping can be resource-intensive (Cpu), which is why a loading indicator was added to enhance user experience during the processing (maximum waiting time of up to 10 seconds for very very large courses).
Additionally, since Levenshtein grouping cannot be applied directly within a query, manual pagination is required when the toggle is activated.
The Affected Students Modal has been refactored. It no longer attempts to send all feedback IDs but instead uses only the first five IDs for the feedback detail text. This change alters the way the modal is used, and it has therefore been renamed to Affected Students Sample, as it now displays up to five affected students per server request. The number 5 was chosen because five example repositories should be sufficient to identify the cause of specific bad feedback in a test case.
Steps for Testing
Prerequisites:
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.
Review Progress
Performance Review
Code Review
Manual Tests
Performance Tests
Test Coverage
Screenshots
Before:
After:
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Documentation
Refactor
Tests